/**
 * @Author: Sagan
 * @Date: 2020/09/17 16:06
 */
package module

import (
	"gitee.com/big_meteor/godash/lang"
	"reflect"
)

// 是否为数组
// 支持的类型：array
func Array(v interface{}) bool {
	kind := lang.GetType(v)

	return reflect.Array == kind || reflect.Slice == kind
}
